package com.jjyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jjyu.entity.User;

public interface UserService extends IService<User> {
    User findByUserName(String userName);

    User findByEmail(String email);

    User register(String name, String email, String password);

    boolean deleteUser(User user);
}
